package com.zhan.ielts.service;

import com.zhan.frame.core.dao.BaseService;
import com.zhan.ielts.domain.DynamicCode;

import java.util.List;

public interface DynamicCodeService extends BaseService<DynamicCode> {

	public String generateDynamicCode();

	public Long verifyDynamicCode(String mobile, String code);

	public void InvalidDynamicCode(DynamicCode dynamicCode);

	public void saveDynamicCode(String mobile, String code);

	public Long verifyBeforeGenerate(String mobile);

	public void updateMobileBatch(List<DynamicCode> list);
}